package com.sky.up.u_jvm;

/**
 * 栈溢出demo
 */
public class StackOverflowDemo {

	/**
	 * 死递归：模拟栈溢出错误   java.lang.StackOverflowError
	 * @param a
	 * @param b
	 */
	public static void runStatic(int a, int b){
		runStatic(a, b);
	}
	
	public static void main(String[] args) {
		runStatic(1, 2);
	}
}
